package com.taxicalculator.dao;

import java.util.List;

import com.taxicalculator.dto.Review;

public interface IReviewDAO {

	/**
     * Persist the given review.
     * @param Save the review.
     * @throws Exception any problem in the underlying persistence mechanism.
     */
    public void save(Review review) throws Exception;
    
    /**
     * List all reviews.
     * @param List all reviews in the database.
     * @throws Exception any problem in the underlying persistence mechanism.
     */
    public List<Review> getReviews() throws Exception;

   
}
